package com.situ.spring.pojo;

import lombok.Data;

@Data
public class Banji {
    private Integer id;
    private String name;

    public Banji(){
        System.out.println("Banji.Banji");
    }

    public Banji(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        System.out.println("Banji.setId");
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
        System.out.println("Banji.setName");
    }
}
